If you are managing your server via PLESK and if you change the Login Details for Plesk then many of you will face this problem if you are accessing Mysql from Shell too? Yes! you can't enter into commandline MySql.
Do following changes on your server with root login to access shell MySql prompt.
# vi /root/.my.cnf
[client]
user= admin [This should be Plesk Username]
password="password" [Just change this password to Plesk password]
Save the file.
If it wont work then try restarting mysql with following command.
# /etc/init.d/mysqld restart
No comments:
Post a Comment